package com.hmall.mapper;

import com.hmall.model.MallDistmode;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MallDistmodeMapper extends MyMapper<MallDistmode> {
    public List<MallDistmode> selectAllDistModes();
    //修改配送选中状态
    public int updateCheck(@Param("distId")Integer distId,@Param("checked")Integer checked);
    public MallDistmode selectById(@Param("distId") Integer distId);
}